package com.dces.jx.billtest.dataimport.constant;

import com.xdo.dataimport.model.EnumCollection;
import org.springframework.beans.factory.annotation.Value;

import java.math.BigDecimal;

/**
 * @author zyzhu
 */
public class Constants {

    /**
     * 0：正确数据 1：错误数据 2：警告数据 对应于EnumCollection.EntityListType的枚举的ordinal
     */
    public static final int CORRECT_FLAG = EnumCollection.EntityListType.CORRECT_LIST.ordinal();
    public static final int WRONG_FLAG = EnumCollection.EntityListType.WRONG_LIST.ordinal();
    public static final int WARN_FLAG = EnumCollection.EntityListType.WARN_LIST.ordinal();

    /**
     * 批量校验阀值
     */
    public static int BATCH = 500;

    /**
     * 表头导入code
     */
    public static final String BILL_HEAD = "BILL_HEAD";
    /**
     * 表体导入code
     */
    public static final String CUS_LIST = "CUS_LIST";

}
